using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;


namespace BusinessObjects
{

    public class HoSo :BaseObject
    {
        
        private string _maQuanLy = String.Empty;
        private string _ho = String.Empty;
        private string _ten = String.Empty;
        private DateTime _ngaySinh;
        private EGioiTinh _gioiTinh;
        private BoPhan _boPhan;
        private string _noiSinh = String.Empty;
        private string _queQuan = String.Empty;
        private string _diaChiThuongTru = String.Empty;
        private string _noiOHienNay = String.Empty;
        private string _dienThoaiDiDong = String.Empty;
        private string _dienThoaiCoQuan = String.Empty;
        private string _email = String.Empty;
        private HopDong _hopDong;
        private TinhTrang _tinhTrang;
        private string _ghiChu = String.Empty;

        public HoSo()
        {
        }


        #region Public Properties

        public string MaQuanLy
        {
            get
            {
                return _maQuanLy;
            }
            set
            {
                if (_maQuanLy == value)
                    return;
                _maQuanLy = value;
                OnPropertyChanged("MaQuanLy");
            }
        }

        public string Ho
        {
            get
            {
                return _ho;
            }
            set
            {
                if (_ho == value)
                    return;
                _ho = value;
                OnPropertyChanged("Ho");
            }
        }

        public string Ten
        {
            get
            {
                return _ten;
            }
            set
            {
                if (_ten == value)
                    return;
                _ten = value;
                OnPropertyChanged("Ten");
            }
        }

        public DateTime NgaySinh
        {
            get
            {
                return _ngaySinh;
            }
            set
            {
                if (_ngaySinh == value)
                    return;
                _ngaySinh = value;
                OnPropertyChanged("NgaySinh");
            }
        }

        public EGioiTinh GioiTinh
        {
            get
            {
                return _gioiTinh;
            }
            set
            {
                if (_gioiTinh == value)
                    return;
                _gioiTinh = value;
                OnPropertyChanged("GioiTinh");
            }
        }

        public BoPhan BoPhan
        {
            get
            {
                return _boPhan;
            }
            set
            {
                if (_boPhan == value)
                    return;
                _boPhan = value;
                OnPropertyChanged("BoPhan");
            }
        }

        public string NoiSinh
        {
            get
            {
                return _noiSinh;
            }
            set
            {
                if (_noiSinh == value)
                    return;
                _noiSinh = value;
                OnPropertyChanged("NoiSinh");
            }
        }

        public string QueQuan
        {
            get
            {
                return _queQuan;
            }
            set
            {
                if (_queQuan == value)
                    return;
                _queQuan = value;
                OnPropertyChanged("QueQuan");
            }
        }

        public string DiaChiThuongTru
        {
            get
            {
                return _diaChiThuongTru;
            }
            set
            {
                if (_diaChiThuongTru == value)
                    return;
                _diaChiThuongTru = value;
                OnPropertyChanged("DiaChiThuongTru");
            }

        }

        public string NoiOHienNay
        {
            get
            {
                return _noiOHienNay;
            }
            set
            {
                if (_noiOHienNay == value)
                    return;
                _noiOHienNay = value;
                OnPropertyChanged("NoiOHienNay");
            }
        }

        public string DienThoaiDiDong
        {
            get
            {
                return _dienThoaiDiDong;
            }
            set
            {
                if (_dienThoaiDiDong == value)
                    return;
                _dienThoaiDiDong = value;
                OnPropertyChanged("DienThoaiDiDong");
            }
        }

        public string DienThoaiCoQuan
        {
            get
            {
                return _dienThoaiCoQuan;
            }
            set
            {
                if (_dienThoaiCoQuan == value)
                    return;
                _dienThoaiCoQuan = value;
                OnPropertyChanged("DienThoaiCoQuan");
            }
        }

        public string Email
        {
            get
            {
                return _email;
            }
            set
            {
                if (_email == value)
                    return;

                _email = value;
                OnPropertyChanged("Email");
            }
        }

        public HopDong HopDong
        {
            get
            {
                return _hopDong;
            }
            set
            {
                if (_hopDong == value) 
                    return;
                _hopDong = value;
                OnPropertyChanged("HopDong");
            }
        }

        public TinhTrang TinhTrang
        {
            get
            {
                return _tinhTrang;
            }
            set
            {
                if (_tinhTrang == value)
                    return;
                _tinhTrang = value;
                OnPropertyChanged("TinhTrang");
            }
        }

        public string GhiChu
        {
            get
            {
                return _ghiChu;
            }
            set
            {
                if (_ghiChu == value)
                    return;
                _ghiChu = value;
                OnPropertyChanged("GhiChu");
            }
        }
        #endregion
    }		
}

